package cn.source.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import cn.source.system.mapper.SchoolPlanMapper;
import cn.source.system.domain.SchoolPlan;
import cn.source.system.service.ISchoolPlanService;

/**
 * 学校招生计划Service业务层处理
 * 
 * @author sourcebyte.vip
 * @date 2024-03-15
 */
@Service
public class SchoolPlanServiceImpl implements ISchoolPlanService 
{
    @Autowired
    private SchoolPlanMapper schoolPlanMapper;

    /**
     * 查询学校招生计划
     * 
     * @param id 学校招生计划主键
     * @return 学校招生计划
     */
    @Override
    public SchoolPlan selectSchoolPlanById(Long id)
    {
        return schoolPlanMapper.selectSchoolPlanById(id);
    }

    /**
     * 查询学校招生计划列表
     * 
     * @param schoolPlan 学校招生计划
     * @return 学校招生计划
     */
    @Override
    public List<SchoolPlan> selectSchoolPlanList(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolPlanList(schoolPlan);
    }

    @Override
    public List<SchoolPlan> selectSchoolPlanList2(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolPlanList2(schoolPlan);
    }
    
    @Override
    public List<SchoolPlan> selectSchoolZyz2023PlanList(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolZyz2023PlanList(schoolPlan);
    }

    @Override
    public List<SchoolPlan> selectSchoolListByPlanList(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolListByPlanList(schoolPlan);
    }

    @Override
    public List<SchoolPlan> selectZyfxList(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectZyfxList(schoolPlan);
    }

    @Override
    public List<SchoolPlan> selectZyzfxList(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectZyzfxList(schoolPlan);
    }

    @Override
    public List<SchoolPlan> selectSchoolZyz2024PlanList(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolZyz2024PlanList(schoolPlan);
    }

    @Override
    public List<SchoolPlan> selectSchoolZyz2024PlanList4Tb(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolZyz2024PlanList4Tb(schoolPlan);
    }

    @Override
    public List<SchoolPlan> selectSchoolMajorNameList(SchoolPlan schoolPlan){
        return schoolPlanMapper.selectSchoolMajorNameList(schoolPlan);
    }

    @Override
    public List<SchoolPlan> selectSchoolZyzZsCountList(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolZyzZsCountList(schoolPlan);
    }

    @Override
    public List<SchoolPlan> selectSchoolZyzPlanList4Page(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolZyzPlanList4Page(schoolPlan);
    }

    @Override
    public List<SchoolPlan> selectSchoolZyPlanList4Page(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolZyPlanList4Page(schoolPlan);
    }
    
    @Override
    public List<SchoolPlan> selectSchoolZyPlan2023ByZyzStrList(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolZyPlan2023ByZyzStrList(schoolPlan);
    }
    
    
    @Override
    public List<SchoolPlan> selectSchoolZyPlan2023List(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolZyPlan2023List(schoolPlan);
    }
    
    
    @Override
    public List<SchoolPlan> selectSchoolZyzPlanList(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolZyzPlanList(schoolPlan);
    }

    @Override
    public List<SchoolPlan> selectSchoolMajorPlanList(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolMajorPlanList(schoolPlan);
    }

    @Override
    public List<SchoolPlan> selectSchoolMajorPmPlanList(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolMajorPmPlanList(schoolPlan);
    }
    
    @Override
    public List<SchoolPlan> selectSchoolPlanCheckList(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolPlanCheckList(schoolPlan);
    }
    
    @Override
    public List<SchoolPlan> selectSchoolZyzList(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.selectSchoolZyzList(schoolPlan);
    }

    public List<SchoolPlan> fix2023PlanList(SchoolPlan schoolPlan){
        return schoolPlanMapper.fix2023PlanList(schoolPlan);
    }

    public List<SchoolPlan> selectLowGradePlanList(SchoolPlan schoolPlan){
        return schoolPlanMapper.selectLowGradePlanList(schoolPlan);
    }

    public List<SchoolPlan> selectZyzPlanList(SchoolPlan schoolPlan){
        return schoolPlanMapper.selectZyzPlanList(schoolPlan);
    }

    public List<SchoolPlan> selectZyzAdminList(SchoolPlan schoolPlan){
        return schoolPlanMapper.selectZyzAdminList(schoolPlan);
    }

    public List<SchoolPlan> selectZyzLowGradeList(SchoolPlan schoolPlan){
        return schoolPlanMapper.selectZyzLowGradeList(schoolPlan);
    }

    public List<SchoolPlan> selectZyzAvgGradeList(SchoolPlan schoolPlan){
        return schoolPlanMapper.selectZyzAvgGradeList(schoolPlan);
    }

    public List<SchoolPlan> selectSchoolZyzPlanList3Year(SchoolPlan schoolPlan){
        return schoolPlanMapper.selectSchoolZyzPlanList3Year(schoolPlan);
    }

    public List<SchoolPlan> selectSchoolMajorList3Year(SchoolPlan schoolPlan){
        return schoolPlanMapper.selectSchoolMajorList3Year(schoolPlan);
    }

    public List<SchoolPlan> selectSchoolDistinctMajorList3Year(SchoolPlan schoolPlan){
        return schoolPlanMapper.selectSchoolDistinctMajorList3Year(schoolPlan);
    }

    public List<SchoolPlan> fixSelectZyzZm1NullList(SchoolPlan schoolPlan){
        return schoolPlanMapper.fixSelectZyzZm1NullList(schoolPlan);
    }

    /**
     * 新增学校招生计划
     * 
     * @param schoolPlan 学校招生计划
     * @return 结果
     */
    @Override
    public int insertSchoolPlan(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.insertSchoolPlan(schoolPlan);
    }

    public int insertSchoolPlanAllList(List<SchoolPlan> list){return schoolPlanMapper.insertSchoolPlanAllList(list);}

    public int insertSchoolPlanAllList2(List<SchoolPlan> list){
        return schoolPlanMapper.insertSchoolPlanAllList2(list);
    }
    /**
     * 修改学校招生计划
     * 
     * @param schoolPlan 学校招生计划
     * @return 结果
     */
    @Override
    public int updateSchoolPlan(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.updateSchoolPlan(schoolPlan);
    }

    public int updateSchoolPlanZyzButch(SchoolPlan schoolPlan)
    {
        return schoolPlanMapper.updateSchoolPlanZyzButch(schoolPlan);
    }

    public int updateSchoolPlanZyzList(List<SchoolPlan> list){return schoolPlanMapper.updateSchoolPlanZyzList(list);}

    public int updateSchoolPlanZyz2List(List<SchoolPlan> list){return schoolPlanMapper.updateSchoolPlanZyz2List(list);}

    public int updateSchoolPlanMajorLowList(List<SchoolPlan> list){return schoolPlanMapper.updateSchoolPlanMajorLowList(list);}

    public int updatefixSelectZyzZm1NullList(List<SchoolPlan> list){
        return schoolPlanMapper.updatefixSelectZyzZm1NullList(list);
    }

    public int updateSchoolPlanZyzPlanList(List<SchoolPlan> list){
        return schoolPlanMapper.updateSchoolPlanZyzPlanList(list);
    }

    public int updateSchoolPlanZyzAdminList(List<SchoolPlan> list){
        return schoolPlanMapper.updateSchoolPlanZyzAdminList(list);
    }

    public int updateSchoolPlanZyzLowGradeList(List<SchoolPlan> list){
        return schoolPlanMapper.updateSchoolPlanZyzLowGradeList(list);
    }

    public int updateSchoolPlanZyzAvgGradeList(List<SchoolPlan> list){
        return schoolPlanMapper.updateSchoolPlanZyzAvgGradeList(list);
    }
    /**
     * 批量删除学校招生计划
     * 
     * @param ids 需要删除的学校招生计划主键
     * @return 结果
     */
    @Override
    public int deleteSchoolPlanByIds(Long[] ids)
    {
        return schoolPlanMapper.deleteSchoolPlanByIds(ids);
    }

    /**
     * 删除学校招生计划信息
     * 
     * @param id 学校招生计划主键
     * @return 结果
     */
    @Override
    public int deleteSchoolPlanById(Long id)
    {
        return schoolPlanMapper.deleteSchoolPlanById(id);
    }
}
